<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>countdown till Create for Millions</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<script language="javascript" type="text/javascript" src="basic.js"></script>
    	<link rel="stylesheet" href="basic.css" type="text/css" />
    	<meta name="Generator" content="Nokia WDE 3.2.0" />
	</head>
	<body onload="javascript:init();" bgcolor="#005db8">
<p align="center">
<script>

var before="Nokia's Create for Millions"
var current="<br><br>Today is the last day to submit your apps for Nokia Create for Millions"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
var dstring=difference.toString()
if (difference==0)
document.write(current)
else if (difference>0){
document.write('<img src="only.gif"><br>')
for (i=0;i<=dstring.length-1;i++)
document.write('<img src="n'+dstring.charAt(i)+'.gif">')
document.write('<br><img src="deadlline.gif"')
}
}
//enter the count down date here yyyy/mm/dd
countdown(2011,09,20)
</script>	
</p>		
	</body>
</html>
